package com.gentle.platform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gentle.common.annotation.Excel;
import com.gentle.common.core.domain.BaseEntity;

/**
 * 用户单对象 fm_user_form
 * 
 * @author ruoyi
 * @date 2024-12-17
 */
public class FmUserForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 表单唯一标识 */
    @Excel(name = "表单唯一标识")
    private String formKey;

    /** 来源Id */
    @Excel(name = "来源Id")
    private String sourceId;

    /** 来源类型 */
    @Excel(name = "来源类型")
    private Integer sourceType;

    /** 表单名称 */
    @Excel(name = "表单名称")
    private String name;

    /** 表单描述 */
    @Excel(name = "表单描述")
    private String description;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 表单类型 */
    @Excel(name = "表单类型")
    private String type;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDeleted;

    /** 是文件夹 */
    @Excel(name = "是文件夹")
    private Integer isFolder;

    /** 文件夹Id */
    @Excel(name = "文件夹Id")
    private Long folderId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFormKey(String formKey) 
    {
        this.formKey = formKey;
    }

    public String getFormKey() 
    {
        return formKey;
    }
    public void setSourceId(String sourceId) 
    {
        this.sourceId = sourceId;
    }

    public String getSourceId() 
    {
        return sourceId;
    }
    public void setSourceType(Integer sourceType) 
    {
        this.sourceType = sourceType;
    }

    public Integer getSourceType() 
    {
        return sourceType;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setIsFolder(Integer isFolder) 
    {
        this.isFolder = isFolder;
    }

    public Integer getIsFolder() 
    {
        return isFolder;
    }
    public void setFolderId(Long folderId) 
    {
        this.folderId = folderId;
    }

    public Long getFolderId() 
    {
        return folderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("formKey", getFormKey())
            .append("sourceId", getSourceId())
            .append("sourceType", getSourceType())
            .append("name", getName())
            .append("description", getDescription())
            .append("userId", getUserId())
            .append("type", getType())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .append("isFolder", getIsFolder())
            .append("folderId", getFolderId())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
